﻿using ActionSystem.Core.EventSystem;
using ActionSystem.Core.Utils;

namespace ActionSystem.Input
{
    public class InputEventArgs :EventArg,IPoolItem
    {
        public static int EventID => typeof(InputEventArgs ).GetHashCode();

        public bool IsDeleted { get; set;}

        public KeyEventData data;

        public void PoolItemReset()
        {
           
        }
        public static InputEventArgs Create()
        {
            return GeneticPool<InputEventArgs>.Create();
        }
        public void PoolItemDelete()
        {
            GeneticPool<InputEventArgs>.Delete(this);
        }
    }
}
